<template>
  <div class="body_bgi full relative p_10">
    
  </div>
</template>

<script>
  export default {
    name: 'Index',
    data() {
      return {
        
      }
    },
    
    async mounted() {
      this.judgeLogin()        
    },
    methods: {
      judgeLogin() {
        let token = window.sessionStorage.getItem('token')

        if (token) {
          this.$router.push('/select-room')
        } else {
          this.$router.push('/login')
        }
      }
    }
  }
</script>

<style>

</style>